package com.app.service;

import com.app.model.ArticleModel;
import com.app.vo.ArticleVo;

public interface ArticleService {
    void update(ArticleModel model);

    void insert(ArticleModel model);

    void deleteById(Integer id);

    ArticleVo selectList(Integer page, Integer limit, String keyword, Integer township, Integer type);

    ArticleModel selectById(Integer id);

    ArticleVo getArticleByType(Integer page, Integer limit, String title,Integer type,Integer cooperativeType);
}
